package org.linlinjava.litemall.db.models;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@ToString
@EqualsAndHashCode(callSuper = false)
@TableName("t_system_log")
public class SystemLog extends BaseModel{

    @TableField("admin")
    private String admin;

    @TableField("ip")
    private String ip;

    //类别
    @TableField("type")
    private Integer type;

    //动作
    @TableField("action")
    private String action;

    //状态
    @TableField("status")
    private Boolean status;

    //操作结果
    @TableField("result")
    private String result;

    //备注
    @TableField("comment")
    private String comment;

}